package cn.forge.mall.framework.common.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author liangyuanping
 * @ClassName SortingField
 * @description: 排序字段
 * @date 2024年03月19日
 * @version: 1.0
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class SortingField implements Serializable {
    /**
     * 顺序-升序
     */
    public static final String ORDER_ASC = "asc";

    /**
     * 顺序-降序
     */
    public static final String ORDER_DESC = "desc";

    /**
     * 字段
     */
    private String field;
    /**
     * 顺序
     */
    private String order;
}
